package org.tigris.atlas.core;

import com.agitar.lib.ConcreteMock;
import com.agitar.lib.MockUtils;

public abstract class AgMockApplicationContext implements ConcreteMock {
  public AgMockApplicationContext() {
    MockUtils.doOriginal();
  }

  private static void init() {
  }

  public static org.tigris.atlas.core.messages.Message getMessage() {
    return (org.tigris.atlas.core.messages.Message) MockUtils.getObject("org.tigris.atlas.core.messages.Message");
  }

  public static Object getBean(String beanName) {
    return (Object) MockUtils.getObject("java.lang.Object");
  }

  public static org.tigris.atlas.core.transfer.TransferObject getTransferObject(String entityName) {
    return (org.tigris.atlas.core.transfer.TransferObject) MockUtils.getObject("org.tigris.atlas.core.transfer.TransferObject");
  }

  public static org.tigris.atlas.core.bizobj.BusinessObject getBusinessObject(String entityName) {
    return (org.tigris.atlas.core.bizobj.BusinessObject) MockUtils.getObject("org.tigris.atlas.core.bizobj.BusinessObject");
  }

  public static org.tigris.atlas.core.transfer.PrimaryKey getPrimaryKey(String entityName) {
    return (org.tigris.atlas.core.transfer.PrimaryKey) MockUtils.getObject("org.tigris.atlas.core.transfer.PrimaryKey");
  }

  public static org.tigris.atlas.core.persist.Dao getDao(String entityName) {
    return (org.tigris.atlas.core.persist.Dao) MockUtils.getObject("org.tigris.atlas.core.persist.Dao");
  }

  public static org.tigris.atlas.core.service.ApplicationService getService(String serviceName) {
    return (org.tigris.atlas.core.service.ApplicationService) MockUtils.getObject("org.tigris.atlas.core.service.ApplicationService");
  }

  public static org.tigris.atlas.core.service.ApplicationService getDelegate(String serviceName) {
    return (org.tigris.atlas.core.service.ApplicationService) MockUtils.getObject("org.tigris.atlas.core.service.ApplicationService");
  }

  static {
    // if this block is left without any executable code, the compiler will omit it
    // and the static initializer of the real class will be used
    MockUtils.doNothing();
  }

}
